package com.fp.m7.client.place;

import net.customware.gwt.presenter.client.EventBus;
import net.customware.gwt.presenter.client.place.DefaultPlaceManager;
import net.customware.gwt.presenter.client.place.TokenFormatter;

import com.google.inject.Inject;

/**
 * Handles the idea of app 'places'.
 * 
 * @author 7
 */
public class BasicPlaceManager extends DefaultPlaceManager {

    @Inject
    public BasicPlaceManager(EventBus eventBus, TokenFormatter tokenFormatter, //
            LoginPlace loginPlace, //
            RegisterPlace registerPlace, //
            ProfilePlace blogPlace, //
            HomePlace homePlace, //
            NewCommentPlace newCommentPlace, //
            SettingsPlace settingsPlace, //
            TimelinePlace timelinePlace) {

        // just register all the app's places
        super(eventBus, tokenFormatter, loginPlace, registerPlace, blogPlace, homePlace, newCommentPlace,
                settingsPlace, timelinePlace);
    }

}
